package com.cy.yonghe.service.impl;

import com.cy.yonghe.mapper.DoorMapper;
import com.cy.yonghe.model.Door;
import com.cy.yonghe.service.IDoorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DoorServiceImpl implements IDoorService {

    @Autowired
    DoorMapper doorMapper;

    @Override
    public List<Door> list() {
        return doorMapper.selectList();
    }

}
